﻿using System;

namespace Ayatta.Contract.Domain
{
    /// <summary>
    /// 游戏服
    /// </summary>
    public class GameServer : BaseEntity<int>
    {
        /// <summary>
        /// 游戏Id
        /// </summary>
        public int GameId { get; set; }

        /// <summary>
        /// 游戏名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 别名
        /// </summary>
        public string Alias { get; set; }

        /// <summary>
        /// 图标URL
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 图片URL
        /// </summary>
        public string Picture { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 第三方游戏参数
        /// </summary>
        public string Params { get; set; }

        /// <summary>
        /// 开放时间
        /// </summary>
        public DateTime OpendOn { get; set; }

        /// <summary>
        /// 是否参与试玩
        /// </summary>
        public bool JoinTrial { get; set; }

        /// <summary>
        /// 试玩开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 试玩结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 优先级 数值从大到小
        /// </summary>
        public int Priority { get; set; }

        /// <summary>
        /// 扩展信息
        /// </summary>
        public string Extra { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }

        public DateTime ModifiedOn { get; set; }

        /// <summary>
        /// 游戏
        /// </summary>
        public virtual Game Game { get; set; }

    }
}